﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="DreamCMS.Web.Admin.Manage" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>DreamCMS-后台管理</title>
    <link href="css/style.css" rel="stylesheet" />
    <script src="js/jquery-1.5.2.js"></script>
    <script src="js/adminjs.js"></script>
    <script>
　　<!--Hide from older browsers
    if (top.location != location)
        top.location.href = location.href;
    // -->
　　</script>
</head>
<body>
    <form id="form1" runat="server">
        <div id="header">
            <h1 class="pullleft logo"><a href="~/admin/default.aspx" runat="server">DreamCMS</a></h1>
            <div class="pullleft mainmenu">
                <ul>
                    <li><a href="ArtMgr/Manage.aspx" onclick="toggleMenu('article')" target="main">文章管理</a></li>
                    <li><a href="ProMgr/Manage.aspx" onclick="toggleMenu('product')" target="main">产品管理</a></li>
                    <li><a href="CatMgr/Manage.aspx" onclick="toggleMenu('cat')" target="main">类别管理</a></li>
                    <li><a href="MemMgr/" onclick="toggleMenu('users')" target="main">会员管理</a></li>
                    <li><a href="GuestMgr/" onclick="toggleMenu('guests')" target="main">留言管理</a></li>
                </ul>
            </div>
            <div class="pullright menubutton">
                <span class="welcome">
                    <asp:Literal ID="ltrUserName" runat="server"></asp:Literal></span>

                <asp:LinkButton ID="closeSite" runat="server" CssClass="grayBtn" OnClick="closeSite_Click">
                    <span>关闭网站</span>
                </asp:LinkButton>
                <asp:HyperLink ID="hlIndex" runat="server" NavigateUrl="~/Default.aspx" CssClass="grayBtn" Target="_blank"><span>访问首页</span></asp:HyperLink>
                <asp:LinkButton ID="lkbLogout" runat="server" CssClass="grayBtn" OnClick="lkbLogout_Click"><span>退出登录</span></asp:LinkButton>
            </div>
        </div>
        <div id="main">
            <div id="leftbar" class="pullleft">
                <div class="leftbarbox">
                    <div class="leftbartop">
                        <a ID="lkbAdmin" href="default.aspx">后台首页</a>&nbsp;&nbsp;
                       <a href="setting.aspx" target="main">网站配置</a>
                    </div>
                    <div class="managelist" id="common">
                        <ul>
                            <li><a href="login.aspx" target="main">常用操作1</a></li>
                            <li><a href="" target="main">常用操作2</a></li>
                            <li><a href="" target="main">常用操作3</a></li>
                            <li><a href="" target="main">常用操作4</a></li>
                        </ul>
                    </div>
                    <div class="managelist" id="cat" style="display: none;">
                        <ul>
                            <li><a href="CatMgr/Manage.aspx" target="main">管理分类</a></li>
                            <li><a href="CatMgr/AddCat.aspx" target="main">添加分类</a></li>
                        </ul>
                    </div>
                    <div class="managelist" id="article" style="display: none;">
                        <ul>
                            <li><a href="ArtMgr/Manage.aspx" target="main">管理文章</a></li>
                            <li><a href="ArtMgr/AddArt.aspx" target="main">添加文章</a></li>
                            <li><a href="" target="main">删除文章</a></li>
                            <li><a href="ArtMgr/Manage.aspx" target="main">管理文章</a></li>
                            <li><a href="" target="main">发布文章</a></li>
                            <li><a href="" target="main">投稿管理</a></li>
                        </ul>
                    </div>

                    <div class="managelist" id="users" style="display: none;">
                        <ul>
                            <li><a href="login.aspx" target="main">添加用户</a></li>
                            <li><a href="" target="main">删除用户</a></li>
                            <li><a href="" target="main">发布用户</a></li>
                            <li><a href="" target="main">发布用户</a></li>
                        </ul>
                    </div>
                </div>

            </div>
            <div id="rightbar" class="">
                <iframe src="main.aspx" name="main" class="framestyle" noresize="noresize" frameborder="0"></iframe>
            </div>
        </div>
        <div id="footer">
            <div class="pullright">
                <p><a href="http://www.cuiyongjian.com" target="_blank">联系作者：www.cuiyongjian.com</a></p>
                <p>当前日期：<%=DateTime.Now.ToString("yyyy年MM月dd日") %></p>
            </div>
            <div>
                <p>程序版本：DreamCMS <%=DreamCMS.BLL.SiteSettingManager.GetSiteSettingInfo().Version %></p>
                <p>Copyright &copy; 2014 DreamCMS</p>
            </div>
        </div>
    </form>
</body>
</html>
